/*
 * gx_globals.h
 *
 *  Created on: 2012-3-14
 *      Author: zhangguanxing
 *      Description:
 */

#ifndef gx_GLOBALS_H_
#define gx_GLOBALS_H_

#include "gx.h"

struct gx_globals_s {
	gx_hash_t *g_hash;
	gx_log_t  *g_log;
	gx_hashring_t* g_hashring;

	int	is_inited;
};

int init_globals(gx_globals_t* g);
extern gx_globals_t gx_globals;

#endif /* gx_GLOBALS_H_ */
